home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 27.zip / BS1 part 27 / DirOpusV4.11.adf / InstallOpus < prev    next >
Text File  |  1993-07-14  |  20KB  |  735 lines

  1. ;*************************************************************************
  2. ;    Title:
  3. ;        Install-Opus
  4. ;*************************************************************************
  5. ;    Description:
  6. ;        The Commodore Installer Script for Opus 4.1 Software
  7. ;*************************************************************************
  8. ;    Author:
  9. ;        Eddie Churchill, c/o INOVAtronics, Inc.
  10. ;*************************************************************************
  11. ;    Still to do:
  12. ;*************************************************************************
  13. ;    History:
  14. ;        05-Jun-93
  15. ;            Simply clean up
  16. ;        10-Feb-93
  17. ;            Removed nasty words, bad eddie
  18. ;        25-Jan-93
  19. ;            Removed the "Run >Nil: <Nil:" from the user-startup
  20. ;        08-Jan-93
  21. ;            Added some additional removal code for Sys:ConfigOpus & ConfigOpus
  22. ;        08-Dec-92
  23. ;            Rewritting script for DirectoryOpus
  24. ;*************************************************************************
  25.  
  26. ; BEWARE OF ALTSPACES IN TEXT Directory Opus
  27.  
  28. ;******************************************************
  29. ;***** SET UP OUR VARIABLES AND OTHER SUCH STUFF ******
  30. ;******************************************************
  31.  
  32. ; some useful variables
  33.     (set true 1)
  34.     (set false 0)
  35.     (set on true)
  36.     (set off false)
  37.     (set yes true)
  38.     (set no false)
  39.     (set yep yes)
  40.     (set nope no)
  41.     (set is_a_file 1)
  42.     (set is_a_dir 2)
  43.     (set quote "\"")
  44.     (set newline "\n")
  45.     (set nothing "")
  46.     (set testing nope)
  47. ;    (set testing yep) ;<- uncomment this for testing mode
  48.     (set os2 (< 2293760 (getversion "exec.library" (resident)))) ; true if under 2.0
  49.  
  50. ; set up our delete options
  51.     (delopts "AskUser" "OkNoDelete" "Force")
  52.  
  53. ; some useful procedures
  54.     ; change userlevel to expert
  55.     (procedure expert_level
  56.         (
  57.             (user 2)
  58.         )
  59.     )
  60.     
  61.     ; reset userlevel back to default
  62.     (procedure default_level
  63.         (
  64.             (user default-level)
  65.         )
  66.     )
  67.     
  68.     ; store off userlevel
  69.     (procedure save_default_level
  70.         (
  71.             (set default-level @user-level)
  72.         )
  73.     )
  74.  
  75. ; some overused strings
  76.     (set omp (cat "One moment please..." newline))
  77.  
  78. ; a general purpose global error trapper
  79.     (onerror
  80.         (makeassign "DOpus_Master" (safe))
  81.     )
  82.  
  83.     
  84. ; introduce ourselfs to the viewers
  85.     (welcome "Welcome to the Directory Opus v4.1 installer.  This installer uses "
  86.         "the Commodore Amiga Installer.  All of our future new products "
  87.         "will be using this installer and we would love to get any feedback "
  88.         "that might help in improving the installation procedure." newline
  89.     )
  90.  
  91. ; first reset the user level so that the novice can see whats going on
  92.     (save_default_level)
  93.     (expert_level)
  94.     
  95. ; what type of install is this going to be?
  96.     (if
  97.         (askbool
  98.             (prompt "How do you want to install?")
  99.             (help @askbool-help)
  100.             (choices "To your HardDrive" "To your boot floppy")
  101.         )
  102.         (
  103.             ; hard drive part
  104.  
  105.             ;****************************************
  106.             ;***** FIGURE OUT WHERE STUFF GOES ******
  107.             ;****************************************
  108.             
  109.             ; now figure out the initial defaults for a bunch of things
  110.                 ; @default-dest is already set for us
  111.                 (set DOpus_Dir (getassign "DOpus"))
  112.             
  113.             ; see if we are doing an update
  114.                 (if (<> DOpus_Dir nothing)
  115.                     (if (askbool
  116.                             (prompt "There seems to be a Directory Opus already installed in"
  117.                                 " your drawer named " quote DOpus_Dir quote ".  "
  118.                                 "Do you want the install Directory Opus v4.1 over it?")
  119.                             (help
  120.                                 "The installer has determined that you may already have a "
  121.                                 "copy of Directory Opus installed on your system. If this is wrong or "
  122.                                 "you want the update installed elsewhere, select NO as an "
  123.                                 "answer. Otherwise, select YES."
  124.                             )
  125.                             (default 1)
  126.                         )
  127.                         ( ; the then clause
  128.                             (set is_update true) ; hey, the user said yes
  129.                         )
  130.                         ( ; the else clause
  131.                             (set is_update false) ; hey, the user said nope
  132.                             (set DOpus_Dir
  133.                                 (askdir
  134.                                     (prompt "Where would you like Opus installed?")
  135.                                     (help @askdir-help)
  136.                                     (default @default-dest)
  137.                                     (newpath)
  138.                                 )
  139.                             )
  140.                         )
  141.                     )
  142.                 )
  143.             
  144.             ; if DOpus_Dir is still nothing then where do they want it?
  145.                 (if (= DOpus_Dir nothing)
  146.                     (set DOpus_Dir
  147.                         (askdir
  148.                             (prompt "Where would you like Opus installed?")
  149.                             (help @askdir-help)
  150.                             (default @default-dest)
  151.                             (newpath)
  152.                         )
  153.                     )
  154.                 )
  155.             
  156.             ; before we go on lets reset the user's level back to what it was
  157.                 (default_level)
  158.             
  159.             ; verify that the Opus directory exists
  160.                 (if (<> (exists DOpus_Dir) is_a_dir)
  161.                     (makedir DOpus_Dir
  162.                         (prompt
  163.                             "The directory you have selected for Directory Opus v4.1 does not "
  164.                             "seem to exist.  Do you want us to create it for you?"
  165.                         )
  166.                         (help @makedir-help)
  167.                         (infos)
  168.                         (confirm)
  169.                     )
  170.                 )
  171.             
  172.             
  173.             ;***********************************
  174.             ;***** GET FIRST DISK IN HERE ******
  175.             ;***********************************
  176.             
  177.             ; ask for the first disk, it should be here but lets check anyway
  178.                 (askdisk
  179.                     (prompt    "Please insert the disk labeled \"Opus Program\".")
  180.                     (help    "The Directory Opus v4.1 program disk contains the main Directory Opus program and support files")
  181.                     (dest  "DOpus")
  182.                     (newname "DOpus_Master")
  183.                 )
  184.             
  185.             ; tell the user of our progress
  186.                 (complete 10)
  187.             
  188.             
  189.             ; clean up after Directory Opus v3.41
  190.             
  191.                 ; Delete S:DirectoryOpus.HLP
  192.                 (set temp_file "S:DirectoryOpus.HLP")
  193.                 (if (= (exists temp_file) is_a_file)
  194.                     (delete temp_file)
  195.                 )
  196.                 
  197.                 ; tell the user of our progress
  198.                 (complete 15)
  199.     
  200.                 ; Delete C:DOpusRT
  201.                 (set temp_file "C:DOpusRT")
  202.                 (if (= (exists temp_file) is_a_file)
  203.                     (delete temp_file)
  204.                 )
  205.                 
  206.                 ; tell the user of our progress
  207.                 (complete 20)
  208.         
  209.                 ; Delete C:ConfigOpus
  210.                 (set temp_file "C:ConfigOpus")
  211.                 (if (= (exists temp_file) is_a_file)
  212.                     (delete temp_file)
  213.                 )
  214.         
  215.                 ; tell the user of our progress
  216.                 (complete 22)
  217.         
  218.                 ; Delete Sys:ConfigOpus
  219.                 (set temp_file "Sys:ConfigOpus")
  220.                 (if (= (exists temp_file) is_a_file)
  221.                     (delete temp_file)
  222.                 )
  223.         
  224.                 ; tell the user of our progress
  225.                 (complete 23)
  226.         
  227.                 ; Delete ConfigOpus
  228.                 (set temp_file "ConfigOpus")
  229.                 (if (= (exists temp_file) is_a_file)
  230.                     (delete temp_file)
  231.                 )
  232.         
  233.                 ; tell the user of our progress
  234.                 (complete 25)
  235.                 
  236.                 ; Delete Libs:Dopus.Library
  237.                 (set temp_file "Libs:Dopus.Library")
  238.                 (if (= (exists temp_file) is_a_file)
  239.                     (
  240.                         (set libraryexisted yes)
  241.                         (delete temp_file)
  242.                     )
  243.                 )
  244.                 
  245.                 (set temp_file (tackon DOpus_Dir "Libs/DOpus.Library"))
  246.                 (if (= (exists temp_file) is_a_file)
  247.                     (
  248.                         (set libraryexisted yes)
  249.                     )
  250.                 )
  251.                         
  252.             ;****************************************
  253.             ;***** COPY OVER FIRST DISK'S STUFF *****
  254.             ;****************************************
  255.             
  256.             ; first copy over the stuff
  257.                 (working omp "Scanning Directory Opus v4.1's disk for files.")
  258.                 
  259.                 (set DOpus_Dir
  260.                     (copyfiles
  261.                         (prompt "Copying files needed by Opus")
  262.                         (help "This will copy the program and support files needed by Directory Opus v4.1"
  263.                             newline
  264.                             @copyfiles-help
  265.                         )
  266.                         (source "DOpus_Master:")
  267.                         (dest DOpus_dir)
  268.                         (pattern "(C|Libs|Modules|S|DirectoryOpus|ReadMe.Doc)")
  269.                         (infos)
  270.                         (confirm)
  271.                     )
  272.                 )
  273.             
  274.             
  275.             ; tell the user of our progress
  276.                 (complete 60)
  277.             
  278.             ; verify that directory opus made it over there
  279.                 (if (= (exists (tackon dopus_dir "DirectoryOpus")) is_a_file)
  280.                     (set dopus_exists yes)
  281.                     (set dopus_exists no)
  282.                 )
  283.             
  284.             
  285.             ; tell the user of our progress
  286.                 (complete 65)
  287.             
  288.             ; only the next stuff if dopus got copied
  289.                 (if (= dopus_exists yes)
  290.                     (
  291.                     
  292.                     ; reset the user level so that the novice can see whats going on
  293.                         (save_default_level)
  294.                         (expert_level)
  295.                     
  296.                     
  297.                     ; ask the user if they want directory opus auto-started when they boot
  298.                         (set startup_mode (askchoice
  299.                                 (prompt "What do you want to do when your machine starts up?")
  300.                                 (help
  301.                                     "The installer can adjust your startup to include the commands needed "
  302.                                     "to automatically startup Directory Opus when your machine starts up."
  303.                                     newline
  304.                                     @askchoice-help
  305.                                 )
  306.                                 (choices "Do not auto-start Directory Opus" "Startup Directory Opus" "Startup Directory Opus Iconified")
  307.                                 (default 0)
  308.                             )
  309.                         )
  310.                         
  311.                         
  312.                     ; tell the user of our progress
  313.                         (complete 90)
  314.                         
  315.                     ; now figure out the addition to the user-startup
  316.                         (set user_script (cat "ASSIGN DOpus: " quote DOpus_dir quote newline))
  317.                         
  318.                         ; startup directory opus
  319.                         (if (= startup_mode 1)
  320.                             (set user_script (cat user_script "DOpus:DirectoryOpus" newline))
  321.                         )
  322.                         
  323.                         ; startup directory opus in ICONIFIED mode
  324.                         (if (= startup_mode 2)
  325.                             (set user_script (cat user_script "DOpus:DirectoryOpus -i" newline))
  326.                         )
  327.                     
  328.                             
  329.                     ; modify S:User-Startup
  330.                         (working omp "Updating S:User-Startup.")
  331.                     
  332.                         (startup "DOpus"
  333.                             (prompt
  334.                                 "These instructions need to be added to the \"S:User-Startup\" "
  335.                                 "so that your system will be properly configured to use Directory Opus v4.1."
  336.                                 newline
  337.                                 newline
  338.                                 user_script
  339.                             )
  340.                             (help @startup-help)
  341.                             (command user_script)
  342.                         )
  343.                     )
  344.                 )
  345.                 
  346.             ; tell the user of our progress
  347.                 (complete 100)
  348.             
  349.             
  350.             ;*****************************
  351.             ;***** WE BE ALMOST DONE *****
  352.             ;*****************************
  353.             
  354.             ; make sure that default-dir is pointing to the right place
  355.                 (set @default-dest DOpus_Dir)
  356.         )
  357.         (
  358.             ; onto the floppy version
  359.             ;****************************************
  360.             ;***** FIGURE OUT WHERE STUFF GOES ******
  361.             ;****************************************
  362.             
  363.             ; where to go?
  364.                 (set @default-dest "Sys:")
  365.             
  366.             ; get the free space from the SYS: diskette
  367.                 (set sys_free (getdiskspace "Sys:"))
  368.                 (set sys_free (/ sys_free 1024))
  369.                 (set space_used 0)
  370.             
  371.             ; now figure out what the user wants to copy?
  372.                 (set first_choice
  373.                     (askoptions
  374.                         (prompt "Your boot diskette has " sys_free " kilobytes free." newline "What do you want to install?")
  375.                         (help "Becareful not to select too much stuff.")
  376.                         (choices
  377.                             "DirectoryOpus            (275k)"
  378.                             "Important Stuff          (103k)"
  379.                             "  DOpusRT                  (6k)"
  380.                             "  DOpus.Library           (65k)"
  381.                             "  DirectoryOpus Help      (32k)"
  382.                         )
  383.                         (default 3)
  384.                     )
  385.                 )
  386.             
  387.             ; figure out how much space will used
  388.                 ; opus is to be copied
  389.                 (if (bitand first_choice 1)
  390.                     (set sys_free (- sys_free 260))
  391.                 )
  392.                 
  393.                 ; important stuff to be copied
  394.                 (if (bitand first_choice 2)
  395.                     (set sys_free (- sys_free 103))
  396.                     (
  397.                         ; else is DOpusRT to be copied?
  398.                         (if (bitand first_choice 4)
  399.                             (set sys_free (- sys_free 6))
  400.                         )
  401.                         ; Dopus.library to be copied?
  402.                         (if (bitand first_choice 8)
  403.                             (set sys_free (- sys_free 65))
  404.                         )
  405.                         ; DOpus Helpfiles to be copied?
  406.                         (if (bitand first_choice 16)
  407.                             (set sys_free (- sys_free 32))
  408.                         )
  409.                     )
  410.                 )
  411.                 
  412.             
  413.             ; if there is room then ask about these items
  414.                 (if (> sys_free 0)
  415.                     (set second_choice
  416.                         (askoptions
  417.                             (prompt "Your boot diskette has " sys_free " kilobytes free." newline "What do you want to install?")
  418.                             (help "Becareful not to select too much stuff.")
  419.                             (choices
  420.                                 "Extra Libraries           (45k)"
  421.                                 "  PowerPacker.Library     (10k)"
  422.                                 "  InovaMusic.Library      (35k)"
  423.                                 "All Modules              (225k)"
  424.                                 "  ConfigOpus             (150k)"
  425.                                 "  DiskUtilities           (30k)"
  426.                                 "  PrintUtilities          (30k)"
  427.                                 "  IconViewer              (15k)"
  428.                             )
  429.                             (default 9)
  430.                         )
  431.                     )
  432.                     (set second_choice 0)
  433.                 )
  434.             
  435.             ; before we go on lets reset the user's level back to what it was
  436.                 (default_level)
  437.             
  438.             
  439.             ;***********************************
  440.             ;***** GET FIRST DISK IN HERE ******
  441.             ;***********************************
  442.             
  443.             ; ask for the first disk, it should be here but lets check anyway
  444.                 (askdisk
  445.                     (prompt    "Please insert the disk labeled \"Opus Program\".")
  446.                     (help    "The Directory Opus v4.1 program disk contains the main Directory Opus program and support files")
  447.                     (dest  "DOpus")
  448.                     (newname "DOpus_Master")
  449.                 )
  450.             
  451.             ; tell the user of our progress
  452.                 (complete 5)
  453.             
  454.             ; clean up after Directory Opus v3.41
  455.             ; Delete S:DirectoryOpus.HLP
  456.                 (set temp_file "S:DirectoryOpus.HLP")
  457.                 (if (= (exists temp_file) is_a_file)
  458.                     (delete temp_file)
  459.                 )
  460.                 
  461.             ; tell the user of our progress
  462.                 (complete 10)
  463.             
  464.             ; Delete C:DOpusRT
  465.                 (set temp_file "C:DOpusRT")
  466.                 (if (= (exists temp_file) is_a_file)
  467.                     (delete temp_file)
  468.                 )
  469.                 
  470.             ; tell the user of our progress
  471.                 (complete 15)
  472.             
  473.             ; Delete C:ConfigOpus
  474.                 (set temp_file "C:ConfigOpus")
  475.                 (if (= (exists temp_file) is_a_file)
  476.                     (delete temp_file)
  477.                 )
  478.                 
  479.             ; tell the user of our progress
  480.                 (complete 20)
  481.             
  482.                 ; Delete Libs:Dopus.Library
  483.                 (set temp_file "Libs:Dopus.Library")
  484.                 (if (= (exists temp_file) is_a_file)
  485.                     (
  486.                         (set libraryexisted yes)
  487.                         (delete temp_file)
  488.                     )
  489.                 )
  490.                         
  491.                 
  492.                 (set temp_file (tackon DOpus_Dir "Libs/DOpus.Library"))
  493.                 (if (= (exists temp_file) is_a_file)
  494.                     (
  495.                         (set libraryexisted yes)
  496.                     )
  497.                 )
  498.                 
  499.             ; now copy over directory opus if requested
  500.                 (if (bitand first_choice 1)
  501.                     (copyfiles
  502.                         (prompt "Copying Directory Opus v4.1 to your bootfloppy")
  503.                         (help "This will copy Directory Opus v4.1 to your boot diskette."
  504.                             newline
  505.                             @copyfiles-help
  506.                         )
  507.                         (source "DOpus_Master:")
  508.                         (dest @default-dest)
  509.                         (choices "DirectoryOpus")
  510.                         (infos)
  511.                         (confirm)
  512.                     )
  513.                 )
  514.             
  515.             ; tell the user of our progress
  516.                 (complete 30)
  517.             
  518.             ; did they select all important stuff?
  519.                 (if (bitand first_choice 2)
  520.                     (set first_choice 28)
  521.                 )
  522.                 
  523.             ; see if we are supposed to copy DOpusRT
  524.                 (if (bitand first_choice 4)
  525.                     (copyfiles
  526.                         (prompt "Copying the DOPusRT program to your bootfloppy")
  527.                         (help "This program lets Directory Opus v4.1 launch other applications."
  528.                             newline
  529.                             @copyfiles-help
  530.                         )
  531.                         (source "DOpus_Master:C")
  532.                         (dest (tackon @default-dest "C"))
  533.                         (choices "DOpusRT")
  534.                         (confirm)
  535.                     )
  536.                 )
  537.             
  538.             ; tell the user of our progress
  539.                 (complete 35)
  540.             
  541.             ; see if we are supposed to copy DOpus.Library
  542.                 (if (bitand first_choice 8)
  543.                     (copylib
  544.                         (prompt "Copying the DOpus.Library to your bootfloppy")
  545.                         (help "This is a support library for Directory Opus v4.1."
  546.                             newline
  547.                             @copyfiles-help
  548.                         )
  549.                         (source "DOpus_Master:Libs/DOpus.Library")
  550.                         (dest (tackon @default-dest "Libs"))
  551.                         (confirm)
  552.                     )
  553.                 )
  554.             
  555.             ; tell the user of our progress
  556.                 (complete 45)
  557.             
  558.             ; see if we are supposed to copy DirectoryOpus.HLP
  559.                 (if (bitand first_choice 16)
  560.                     (copyfiles
  561.                         (prompt "Copying Directory Opus v4.1's help files to your bootfloppy")
  562.                         (help "This file contains help information about Directory Opus v4.1."
  563.                             newline
  564.                             @copyfiles-help
  565.                         )
  566.                         (source "DOpus_Master:S")
  567.                         (dest (tackon @default-dest "S"))
  568.                         (choices "DirectoryOpus.HLP")
  569.                         (confirm)
  570.                     )
  571.                 )
  572.             
  573.             ; tell the user of our progress
  574.                 (complete 50)
  575.             
  576.             ; break up the second_choice
  577.                 (set xlibs_choice (bitand second_choice 7))
  578.                 (set mods_choice (bitand second_choice 248))
  579.                 
  580.             ; Is all extralibs selected?
  581.                 (if (bitand xlibs_choice 1)
  582.                     (set xlibs_choice 6)
  583.                 )
  584.                 
  585.             ; see if we are supposed to copy PowerPacker.library
  586.                 (if (bitand xlibs_choice 2)
  587.                     (copylib
  588.                         (prompt "Copying the PowerPacker.Library to your bootfloppy")
  589.                         (help "This is a support library for Directory Opus v4.1."
  590.                             newline
  591.                             @copyfiles-help
  592.                         )
  593.                         (source "DOpus_Master:Libs/PowerPacker.Library")
  594.                         (dest (tackon @default-dest "Libs"))
  595.                         (confirm)
  596.                     )
  597.                 )
  598.             
  599.             ; tell the user of our progress
  600.                 (complete 55)
  601.             
  602.             ; see if we are supposed to copy InovaMusic.library
  603.                 (if (bitand xlibs_choice 4)
  604.                     (copylib
  605.                         (prompt "Copying the InovaMusic.Library to your bootfloppy")
  606.                         (help "This is a support library for Directory Opus v4.1."
  607.                             newline
  608.                             @copyfiles-help
  609.                         )
  610.                         (source "DOpus_Master:Libs/InovaMusic.Library")
  611.                         (dest (tackon @default-dest "Libs"))
  612.                         (confirm)
  613.                     )
  614.                 )
  615.             
  616.             ; tell the user of our progress
  617.                 (complete 60)
  618.             
  619.             ; did they select all modules
  620.                 (if (bitand mods_choice 8)
  621.                     (set mods_choice 240)
  622.                 )
  623.                 
  624.             ; see if we are supposed to copy ConfigOpus
  625.                 (if (bitand mods_choice 16)
  626.                     (
  627.                         ; first copy the program
  628.                         (copyfiles
  629.                             (prompt "Copying the ConfigOpus program to your bootfloppy")
  630.                             (help "This program lets you configure Directory Opus v4.1."
  631.                                 newline
  632.                                 @copyfiles-help
  633.                             )
  634.                             (source "DOpus_Master:Modules")
  635.                             (dest @default-dest)
  636.                             (choices "ConfigOpus")
  637.                             (infos)
  638.                             (confirm)
  639.                         )
  640.                         
  641.                         ; tell the user of our progress
  642.                         (complete 65)
  643.             
  644.                         ; second ask about the help file
  645.                         (copyfiles
  646.                             (prompt "Do you want to copy the ConfigOpus help file to your bootfloppy?")
  647.                             (help "This is the help file for ConfigOpus."
  648.                                 newline
  649.                                 @copyfiles-help
  650.                             )
  651.                             (source "DOpus_Master:S")
  652.                             (dest (tackon @default-dest "S"))
  653.                             (choices "ConfigOpus.HLP")
  654.                             (confirm)
  655.                         )
  656.                     )
  657.                 )
  658.             
  659.             ; tell the user of our progress
  660.                 (complete 70)
  661.             
  662.             ; see if we are supposed to copy Disk utilities
  663.                 (if (bitand mods_choice 32)
  664.                     ; first copy the program
  665.                     (copyfiles
  666.                         (prompt "Copying the Disk Utilities to your bootfloppy")
  667.                         (help "This program lets Directory Opus v4.1 manipulate diskettes."
  668.                             newline
  669.                             @copyfiles-help
  670.                         )
  671.                         (source "DOpus_Master:Modules")
  672.                         (dest (tackon @default-dest "C"))
  673.                         (choices "DOpus_Disk")
  674.                         (confirm)
  675.                     )
  676.                 )
  677.             
  678.             ; tell the user of our progress
  679.                 (complete 80)
  680.             
  681.             ; see if we are supposed to copy print utilities
  682.                 (if (bitand mods_choice 64)
  683.                     ; first copy the program
  684.                     (copyfiles
  685.                         (prompt "Copying the Print Utilities to your bootfloppy")
  686.                         (help "This program lets Directory Opus v4.1 print files."
  687.                             newline
  688.                             @copyfiles-help
  689.                         )
  690.                         (source "DOpus_Master:Modules")
  691.                         (dest (tackon @default-dest "C"))
  692.                         (choices "DOpus_Print")
  693.                         (confirm)
  694.                     )
  695.                 )
  696.             
  697.             ; tell the user of our progress
  698.                 (complete 90)
  699.             
  700.             ; see if we are supposed to copy icon utilities
  701.                 (if (bitand mods_choice 128)
  702.                     ; first copy the program
  703.                     (copyfiles
  704.                         (prompt "Copying the Icon Utilities to your bootfloppy")
  705.                         (help "This program lets Directory Opus v4.1 manipulate icons."
  706.                             newline
  707.                             @copyfiles-help
  708.                         )
  709.                         (source "DOpus_Master:Modules")
  710.                         (dest (tackon @default-dest "C"))
  711.                         (choices "DOpus_Icon")
  712.                         (confirm)
  713.                     )
  714.                 )
  715.             
  716.             ; tell the user of our progress
  717.                 (complete 100)
  718.         )
  719.     )
  720.  
  721. ; unmake the assignment
  722.     (makeassign "DOpus_Master" (safe))
  723.  
  724. ; final message for our viewers
  725.     ; well either way we want to say this
  726.     (set end_text "Well thats it folks, have a fun time with Directory Opus v4.1.")
  727.     
  728.     ; did the library already exist?
  729.     (if libraryexisted
  730.         (set end_text (cat end_text newline "Since you already had the library installed you will have to reboot your system."))
  731.     )
  732.     
  733.     ; now for the real exit
  734.     (exit end_text)
  735.